package com.lottery;

import java.util.ArrayList;
import java.util.List;

/**
 * @author syg
 * @Description 生成数据
 * @date 2022/10/23
 */
public class GeneratorData {

    /**
     * 构造数据
     * 默认总人数大于中奖人数
     * @return List<String>
     */
    public static List<String> generatorData() {
        List<String> list = new ArrayList<>(LotteryConfig.total);
        for (int i = 1; i <= LotteryConfig.total; i++) {
            list.add(i + "号员工");
        }
        return list;
    }
}
